<?php


namespace app\common\model;


use think\Model;

class UserBackpackModel extends Model {

    public function gift() {
        return $this->hasOne(GiftModel::class, 'id', 'gid');
    }

}